﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MailClient.Data;
using MailClient;
using MailClient.Handlers;

namespace MailClient.Commands
{
    /// <summary>
    /// Allows for the approval of poeple to specific projects or lists. Used with the prefix "requires" it will set the requires approval flag.
    /// to remove approvals or requires approval flag send command prefixed with "-"
    /// example:  "REQUIRES APPROVAL"  adds the flag
    ///           "-REQUIRES APPROVAL" removes the flag
    /// </summary>
    class approval : ICommand, IDisposable
    {
        public void Dispose() { }

        private Handlers.designator _designator;
        public Handlers.designator Designator
        {
            get { return _designator; }
            set { _designator = Designator; }
        }
        public approval(Command com, string[] query) { _query = query; }

        private string[] _query;


        private MailMessage _msg;

        public MailMessage MsgReply
        {
            get { return _msg; }
        }

        public bool CommitData() { return false; }

        public bool Command(Job job)
        {
            return false;
        }

    }
}
